
package nccloud.itf.rongq.bill;

import java.io.File;
import java.io.InputStream;
import java.util.Map;

import nc.ui.querytemplate.querytree.IQueryScheme;
import nc.vo.am.common.MappedBaseVO;
import nc.vo.pub.BusinessException;
import nc.vo.rongq.lrcenter.AggCenterVO;

public interface ICentervoMaintain {

        public void delete(AggCenterVO[] clientFullVOs,
                        AggCenterVO[] originBills) throws BusinessException;

        public AggCenterVO[] insert(AggCenterVO[] clientFullVOs,
                        AggCenterVO[] originBills) throws BusinessException;

        public AggCenterVO[] update(AggCenterVO[] clientFullVOs,
                        AggCenterVO[] originBills) throws BusinessException;

        public AggCenterVO[] query(IQueryScheme queryScheme)
                        throws BusinessException;

        public AggCenterVO[] save(AggCenterVO[] clientFullVOs,
                        AggCenterVO[] originBills) throws BusinessException;

        public AggCenterVO[] unsave(AggCenterVO[] clientFullVOs,
                        AggCenterVO[] originBills) throws BusinessException;

        public AggCenterVO[] approve(AggCenterVO[] clientFullVOs,
                        AggCenterVO[] originBills) throws BusinessException;

        public AggCenterVO[] unapprove(AggCenterVO[] clientFullVOs,
                        AggCenterVO[] originBills) throws BusinessException;
        
        public File getExcelFile(Map<String, String[]> webMap) throws Exception;
        public MappedBaseVO[] readExcel(InputStream fileInput, String fileName) throws Exception;
        
        public void pushZT(AggCenterVO agg) throws BusinessException;
}
